home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- Set_CDcounter(2)
- initLesson()
- CheckForTagWd()
- end
-
- on HideLastStep
- repeat with i = 15 to 22
- puppetSprite(i, 0)
- UpdateCursors(i, 0)
- end repeat
- end
-
- on TheinitCursor
- initCursorCastNum()
- initCursorList(1)
- set CursorCastNum to getCursor(2)
- cursor([CursorCastNum, CursorCastNum + 1])
- UpdateCursors(26, 3)
- end
-
- on checkScreenStatus
- CheckRollOver()
- CheckSnakeStatus()
- go(the frame)
- end
-
- on BlinkNext
- if (the timer > getTimer()) and not soundBusy(2) then
- startTimer()
- if the name of cast the castNum of sprite get_NEXTSprite() = "NEXT" then
- set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT_E"
- else
- set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT"
- end if
- end if
- end
-
- on playTheTSound theTSnd
- PlaySound("NCT10020.s0" & theTSnd)
- end
-
- on GoNext
- if not get_Disabled() then
- sound stop 2
- if Get_NEXT() = 3 then
- unLoad()
- end if
- if Get_NEXT() = 6 then
- repeat with i = 20 to 22
- UpdateCursors(i, 0)
- puppetSprite(i, 0)
- end repeat
- UpdateCursors(23, 0)
- end if
- if Get_NEXT() > 7 then
- GoNextMovie()
- else
- go("t" & Get_NEXT())
- end if
- Set_NEXT(Get_NEXT() + 1)
- end if
- end
-
- on stopMovie
- sound stop 1
- unLoad()
- setEmptyCursor()
- end
-
- on GoNextMovie
- PlaySound("GOSOUND.SO1")
- SaveHilite()
- Add_CDcounter(1)
- set cdNum to Get_CDcounter()
- set movieName to item cdNum of Get_CurrentSnakeScreens()
- go("INIT" & Get_ScreenSubject(), movieName & ".GEO")
- end
-
- on handleExit
- repeat with i = 23 to 26
- set the visible of sprite i to 0
- UpdateCursors(i, 0)
- end repeat
- UpdateCursors(23, 3)
- end
-
- on GO_TO_T theSpriteNum
- puppetSprite(15, 1)
- puppetSprite(16, 1)
- puppetSprite(theSpriteNum, 1)
- set the castNum of sprite theSpriteNum to the number of cast ("BTN" & theSpriteNum & "_V")
- repeat with i = 23 to 26
- set the visible of sprite i to 1
- end repeat
- UpdateCursors(26, 3)
- go("t" & theSpriteNum)
- UpdateCursors(23, 0)
- end
-